package nc.ui.mm.pickmdiff;

import nc.ui.trade.bill.AbstractManageController;
import nc.ui.trade.businessaction.IBusinessActionType;
import nc.ui.trade.button.IBillButton;
import nc.vo.mm.pickmdiff.AggPickmdiffVO;
import nc.vo.mm.pickmdiff.PickmdiffBVO;
import nc.vo.mm.pickmdiff.PickmdiffButtom;
import nc.vo.mm.pickmdiff.PickmdiffHVO;

public class PickmdiffController extends AbstractManageController{

	public String[] getCardBodyHideCol() {
		return null;
	}

	public int[] getCardButtonAry() {
		return new int[]{
				IBillButton.Query,
				//IBillButton.Add,
				IBillButton.Delete,
				IBillButton.Save,
				IBillButton.Edit,
				IBillButton.Cancel,	
				IBillButton.Return,
				IBillButton.Refresh,
				IBillButton.Line,
				//PickmdiffButtom.CHECKALL,
				//PickmdiffButtom.CHECKZERO,
				PickmdiffButtom.DETAIL,
				PickmdiffButtom.CREATENEW,
				PickmdiffButtom.AUTONUM,
				//PickmdiffButtom.CANCALDATA,
				IBillButton.DirectPrint
		};
	}

	public boolean isShowCardRowNo() {
		return true;
	}

	public boolean isShowCardTotal() {
		return false;
	}

	public String getBillType() {
		return "BLCY";
	}

	public String[] getBillVoName() {
		return new String[]{
				AggPickmdiffVO.class.getName(),
				PickmdiffHVO.class.getName(),
				PickmdiffBVO.class.getName()
		};
	}

	public String getBodyCondition() {
		return null;
	}

	public String getBodyZYXKey() {
		return null;
	}

	public int getBusinessActionType() {
		return IBusinessActionType.BD;
	}

	public String getChildPkField() {
		return "pk_pdm_b";
	}

	public String getHeadZYXKey() {
		return null;
	}

	public String getPkField() {
		return "pk_pdm_h";
	}

	public Boolean isEditInGoing() throws Exception {
		return null;
	}

	public boolean isExistBillStatus() {
		return false;
	}

	public boolean isLoadCardFormula() {
		return false;
	}

	public String[] getListBodyHideCol() {
		return null;
	}

	public int[] getListButtonAry() {
		return new int[]{
				IBillButton.Query,
				//IBillButton.Add, 
				IBillButton.Delete,
				IBillButton.Save,
				IBillButton.Edit,
				IBillButton.Cancel,		
				IBillButton.Refresh,
				IBillButton.Line,
				//PickmdiffButtom.CHECKALL,
				//PickmdiffButtom.CHECKZERO,
				PickmdiffButtom.DETAIL,
				PickmdiffButtom.CREATENEW,
				//PickmdiffButtom.CANCALDATA,
				IBillButton.DirectPrint
		};
	}

	public String[] getListHeadHideCol() {
		return null;
	}

	public boolean isShowListRowNo() {
		return true;
	}

	public boolean isShowListTotal() {
		return false;
	}

}
